package com.transaction.demo;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

import lombok.extern.slf4j.Slf4j;

/**
 * 描述：定时任务服务
 * 作者：马庆智
 * 日期：2023/4/26 10:24
 */
@Slf4j
@SpringBootApplication
@EnableFeignClients
public class TaskApplication implements CommandLineRunner {

	public static void main(String[] args) {
		SpringApplication.run(TaskApplication.class, args);
	}

	@Override
	public void run(String... args) throws Exception {
		log.info("定时任务服务已启动!");
	}
}